diff --git a/templates/user/stats.tmpl b/templates/user/stats.tmpl index a0c08ec..9c895e2 100644 --- a/templates/user/stats.tmpl +++ b/templates/user/stats.tmpl @@ -1,67 +1,68 @@ {{define "stats"}} {{template "header" .}}
Stats for all time.
{{if or .Federation .EmailEnabled}}Fediverse Followers | {{end}} {{if .EmailEnabled}}Email Subscribers | {{end}}
---|---|
{{.APFollowers}} | {{end}} {{if .EmailEnabled}}{{.EmailSubscribers}} | {{end}}
Post | {{if not .Collection}}Blog | {{end}}Total Views | {{if .Federation}}Likes | {{end}}
---|---|---|---|
{{if ne .DisplayTitle ""}}{{.DisplayTitle}}{{else}}{{.ID}}{{end}} | {{ if not $.Collection }}{{if .Collection}}{{.Collection.Title}}{{else}}Draft{{end}} | {{ end }}{{.ViewCount}} | {{if $.Federation}}{{.LikeCount}} | {{end}}